package com.star.news.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * @author yangzj
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Data
public class NewsUpdateDTO extends NewsSaveDTO {

    /**
     * id
     */
    @NotNull
    private Long id;

    /**
     * 发布状态
     */
    private Integer publishStatus;

    /**
     * 置顶状态
     */
    private Integer topStatus;
}
